package main

import (
	"ip"
	"log"
)

func main() {
	loc, err := ip.FindByStr("127.0.0.1")
	if err != nil {
		log.Println(err)
		return
	}

	log.Println(loc.Country, loc.Area)
}
